export default {
    ['ruler_info']: {
        distance: 0.0,
        distance_cm: 0.0,
        distance_in: 0.0,
        isStabillzed: false,
        mode: 1,
        partsType: 0,
        precision_cm: 0,
        precision_in: 0,
        time:0,
        unit: 1
    },
    rulerImport: function (rulerDatas) {
        this.ruler_info.distance = rulerDatas.distance;
        this.ruler_info.distance_cm = rulerDatas.distance_cm;
        this.ruler_info.distance_in = rulerDatas.distance_in;
        this.ruler_info.isStabillzed = rulerDatas.isStabilized;
        this.ruler_info.mode = rulerDatas.mode;
        this.ruler_info.partsType = rulerDatas.partsType;
        this.ruler_info.precision_cm = rulerDatas.precision_cm;
        this.ruler_info.precision_in = rulerDatas.precision_in;
        this.ruler_info.time = rulerDatas.time;
        this.ruler_info.unit = rulerDatas.unit;
    }
};